package com.lvy.hczn.transmit.domain.dto.cteck;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 配送订单明细表
 *
 * @author yw
 * @date 2023-06-03 10:32:46
 **/
@Data
public class DeliveryOrderInfoDetail implements Serializable {

    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "配送单id")
    private String deliveryOrderId;

    @ApiModelProperty(value = "货箱编码")
    private String cartonCode;

    @ApiModelProperty(value = "货箱类型")
    private String containerId;

    @ApiModelProperty(value = "商品名称")
    private String merchandiseName;

    @ApiModelProperty(value = "商品编码")
    private String merchandiseCode;

    @ApiModelProperty(value = "商品sku")
    private String merchandiseSku;

    @ApiModelProperty(value = "商品规格")
    private String merchandiseSpecif;

    @ApiModelProperty(value = "规格编码")
    private String specCode;

    @ApiModelProperty(value = "商品数量")
    private Integer merchandiseNum;

    @ApiModelProperty(value = "商品体积")
    private BigDecimal merchandiseVolume;

    @ApiModelProperty(value = "商品重量")
    private BigDecimal merchandiseWeight;

    @ApiModelProperty(value = "货箱内商品所占重量")
    private BigDecimal containerWeight;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "温区id")
    private String temperAreaId;

    @ApiModelProperty(value = "生产商id")
    private String producerId;

    @ApiModelProperty(value = "生产商名称")
    private String producerName;

    @ApiModelProperty(value = "生产日期")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date producerDate;

    @ApiModelProperty(value = "保质期")
    private Integer warrantyDate;

    @ApiModelProperty(value = "商品分类id")
    private Integer categoryId;

    @ApiModelProperty(value = "零售控价 0：关闭，1开启")
    private Integer retailControl;

    @ApiModelProperty(value = "0:未删除,1:已删除")
    private Integer isDelete;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @ApiModelProperty(value = "供应商编码")
    private String supplierCode;

    @ApiModelProperty(value = "供应商编码")
    private String supplierName;

    @ApiModelProperty(value = "入库类型")
    private String dataType;

    @ApiModelProperty(value = "是否大件 0:否 ，1:是")
    private Integer bigProduct;

    @ApiModelProperty(value = "预售类型（0:非预售，1：预售,）")
    private Integer outStock;

    @ApiModelProperty(value = "如：拒收配送之类的，需要绑定销售配送单号，则赋值销售配送单号")
    private String otherNo;

    @ApiModelProperty(value = "加工方式id")
    private String processingId;

}
